#ifndef _USART_H_
#define _USART_H_
#include "stm32f4xx.h"
#include "WIFI.h"
#define      BUFF_MAX      526
struct WIFI{
	  uint8_t  BUFF[BUFF_MAX];
	  uint8_t  buff_length;
	  uint8_t  buff_flag;
};
void USART1_Config(uint32_t bound);
void USART2_Config( uint32_t bound );
void USART1_SEND(uint8_t *data,uint16_t length);
void USART2_SEND(uint8_t *data,uint16_t length);

#endif